import bb.cascades 1.0
import org.puzzlehead.bbcache 1.0

NavigationPane {
    Page {
        titleBar: TitleBar {
            title: "Nearby Geocaches"
        }
        Container {
            ListView {
                dataModel: nearbyCaches.dataModel
            }
        }
        attachedObjects: [
            NearbyCaches {
                id: nearbyCaches
            }
        ]
        actions: [
            ActionItem {
                ActionBar.placement: ActionBarPlacement.OnBar
                title: "Refresh"
                imageSource: "asset:///images/icons/ic_rotate.png"
            }
        ]
    }
}
